testsuite: Add another repeat node test case
authorTimm Bäder <mail@baedert.org>
Sat, 10 Aug 2019 17:56:10 +0000 (19:56 +0200)
committerTimm Bäder <mail@baedert.org>
Sun, 11 Aug 2019 07:05:31 +0000 (09:05 +0200)
testsuite/gsk/compare/repeat-texture.node [new file with mode: 0644]
testsuite/gsk/compare/repeat-texture.png [new file with mode: 0644]
testsuite/gsk/meson.build

diff --git a/testsuite/gsk/compare/repeat-texture.node b/testsuite/gsk/compare/repeat-texture.node
new file mode 100644 (file)
index 0000000..ee78704
--- /dev/null
@@ -0,0 +1,9 @@
+repeat {
+  child: texture {
+    bounds: 0 0 1 2;
+    texture: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAABmJLR0QA/wD/AP+gvaeTAAAAEklEQVQImWNgYGD4z8DAwMAAAAYEAQD7YNrQAAAAAElFTkSuQmCC");
+  }
+
+  bounds: 0 0 25 25;
+}
+
diff --git a/testsuite/gsk/compare/repeat-texture.png b/testsuite/gsk/compare/repeat-texture.png
new file mode 100644 (file)
index 0000000..3aaae7b
Binary files /dev/null and b/testsuite/gsk/compare/repeat-texture.png differ
index e2e0494ca48ecba2a0ac926fb07de7bf0af1fe87..e367cd7ef67959cb43201be863bbe2b56f271c72 100644 (file)
@@ -58,6 +58,7 @@ compare_render_tests = [
   'scale-up-down',
   'opacity-overlapping-children',
   'repeat',
+  'repeat-texture',
 ]
 
 # these are too sensitive to differences in the renderers